UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

The /etc/shadow (or equivalent) file must have mode 0400.


Overview

Finding ID Version Rule ID IA Controls Severity
V-800 GEN001420 SV-45003r1_rule ECLP-1 Medium
Description
The /etc/shadow file contains the list of local system accounts. It is vital to system security and must be protected from unauthorized modification. The file also contains password hashes which must not be accessible to users other than root.
STIG Date
SUSE Linux Enterprise Server v11 for System z 2015-10-20

Details

Check Text ( C-42407r1_chk )
Check the mode of the /etc/shadow file.
# ls -lL /etc/shadow
If the /etc/shadow file has a mode more permissive than 0400, this is a finding.
Fix Text (F-38418r1_fix)
Change the mode of the /etc/shadow (or equivalent) file.
# chmod 0400 /etc/shadow